﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;

namespace DAO
{
    public class KhachHangDAO
    {
        public static List<KhachHang> loadAll()
        {
            List<KhachHang> ds = new List<KhachHang>();
            
            using (var db = new bcsaleEntities())
            {                
                ds = db.KhachHangs.ToList<KhachHang>();
            }           
            
            return ds;                        
        }
    }
}
